MsgN( "Loading gStats by Aide(Clark)" )

require("tmysql")
tmysql.initialize("localhost", "root", "", "gstats", 3306)
tmysql.query("CREATE TABLE IF NOT EXISTS `players` ( `id` int(64) unsigned NOT NULL AUTO_INCREMENT, `steamid` varchar(32) NOT NULL, `nick` text NOT NULL, `kills` int(64) NOT NULL, `deaths` int(64) NOT NULL, `headshots` int(64) NOT NULL, `points` int(64) NOT NULL, `time` int(64) NOT NULL, `victims` text NOT NULL DEFAULT '', `attackers` text NOT NULL DEFAULT '', `weapons` text NOT NULL DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `steamid` (`steamid`)) ENGINE=InnoDB DEFAULT CHARSET=latin1;", SQLHandle )

function SQLHandle( result, _, error )
	if error and error != 0 then
		print( "SQL ERROR: " .. error )
	end
end

MsgN( "Loaded gStats by Aide(Clark)" )